Public Class PrintPreviewForm
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents CrRptView As CrystalDecisions.Windows.Forms.CrystalReportViewer
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(PrintPreviewForm))
        Me.CrRptView = New CrystalDecisions.Windows.Forms.CrystalReportViewer()
        Me.SuspendLayout()
        '
        'CrRptView
        '
        Me.CrRptView.ActiveViewIndex = -1
        Me.CrRptView.AutoScroll = True
        Me.CrRptView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.CrRptView.Cursor = System.Windows.Forms.Cursors.Default
        Me.CrRptView.Location = New System.Drawing.Point(8, 8)
        Me.CrRptView.Name = "CrRptView"
        Me.CrRptView.SelectionFormula = ""
        Me.CrRptView.ShowCloseButton = False
        Me.CrRptView.ShowGroupTreeButton = False
        Me.CrRptView.ShowRefreshButton = False
        Me.CrRptView.Size = New System.Drawing.Size(920, 680)
        Me.CrRptView.TabIndex = 0
        Me.CrRptView.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None
        Me.CrRptView.ViewTimeSelectionFormula = ""
        '
        'PrintPreviewForm
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.BackColor = System.Drawing.Color.LightBlue
        Me.BackgroundImage = CType(resources.GetObject("$this.BackgroundImage"), System.Drawing.Image)
        Me.ClientSize = New System.Drawing.Size(936, 692)
        Me.Controls.Add(Me.CrRptView)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D
        Me.Name = "PrintPreviewForm"
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
        Me.Text = "Print Preview"
        Me.ResumeLayout(False)

    End Sub

#End Region

    Private Sub PrintPreview_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
        PrntPrv = Nothing
    End Sub


    Private Sub PrintPreview_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
        CrRptView.ShowExportButton = True

    End Sub

  
End Class
